home *** CD-ROM | disk | FTP | other *** search
/ Champak 130 / Vol 130.iso / games / hummer.swf / scripts / DefineSprite_156 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-01-08  |  3.3 KB  |  108 lines

  1. var ┬º\x01┬º = 255;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 255)
  5.    {
  6.       set("\x01",eval("\x01") + 175);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else if(eval("\x01") == 430)
  10.    {
  11.       set("\x01",eval("\x01") - 96);
  12.       if(┬º┬ºpop())
  13.       {
  14.          set("\x01",eval("\x01") - 260);
  15.       }
  16.    }
  17.    else
  18.    {
  19.       if(eval("\x01") == 334)
  20.       {
  21.          set("\x01",eval("\x01") - 260);
  22.          ┬º┬ºpush(┬º┬ºpop() >>> ┬º┬ºpop() + 1);
  23.          break;
  24.       }
  25.       if(eval("\x01") == 74)
  26.       {
  27.          set("\x01",eval("\x01") + 375);
  28.          ┬º┬ºpush(true);
  29.       }
  30.       else
  31.       {
  32.          if(eval("\x01") == 862)
  33.          {
  34.             set("\x01",eval("\x01") - 152);
  35.             break;
  36.          }
  37.          if(eval("\x01") == 449)
  38.          {
  39.             set("\x01",eval("\x01") + 413);
  40.             if(┬º┬ºpop())
  41.             {
  42.                set("\x01",eval("\x01") - 152);
  43.             }
  44.          }
  45.          else if(eval("\x01") == 710)
  46.          {
  47.             set("\x01",eval("\x01") - 196);
  48.             ┬º┬ºpush(true);
  49.          }
  50.          else
  51.          {
  52.             if(eval("\x01") != 514)
  53.             {
  54.                if(eval("\x01") == 904)
  55.                {
  56.                   set("\x01",eval("\x01") - 313);
  57.                   setProperty(┬º┬ºpop(), _X, ┬º┬ºpop());
  58.                   ┬º┬ºpush(new ┬º\┬º\┬ºpop()┬º());
  59.                   break;
  60.                }
  61.                if(eval("\x01") == 591)
  62.                {
  63.                   set("\x01",eval("\x01") - 66);
  64.                   this._parent.stop();
  65.                   bg._x = 0;
  66.                   bg._y = 0;
  67.                   this._x = 0;
  68.                   this._y = 0;
  69.                   bg._width = Stage.width;
  70.                   bg._height = Stage.height;
  71.                   bg.swapDepths(10);
  72.                   _quality = "BEST";
  73.                   intro._xscale = 100;
  74.                   intro._yscale = 100;
  75.                   intro.swapDepths(11);
  76.                   intro._x = Math.round((Stage.width - intro._width) / 2);
  77.                   intro._y = Math.round((Stage.height - intro._height) / 2);
  78.                   loaded = function()
  79.                   {
  80.                      this._parent.gotoAndStop(2);
  81.                   };
  82.                   gotoGamezhero = function()
  83.                   {
  84.                      getUrl("http://www.gamezhero.com/?utm_campaign=hrc&utm_source=hrc&utm_medium=context_menu", "_blank");
  85.                   };
  86.                   gamezheroMenu = new ContextMenu();
  87.                   gamezheroMenu.builtInItems.forward_back = false;
  88.                   gamezheroMenu.builtInItems.loop = false;
  89.                   gamezheroMenu.builtInItems.play = false;
  90.                   gamezheroMenu.builtInItems.print = false;
  91.                   gamezheroMenu.builtInItems.rewind = false;
  92.                   gamezheroMenu.builtInItems.zoom = false;
  93.                   gamezheroMenu.builtInItems.save = false;
  94.                   gamezheroMenu.customItems.push(new ContextMenuItem("More Free Games - gamezhero.com",gotoGamezhero));
  95.                   _root.menu = gamezheroMenu;
  96.                }
  97.                break;
  98.             }
  99.             set("\x01",eval("\x01") + 390);
  100.             if(┬º┬ºpop())
  101.             {
  102.                set("\x01",eval("\x01") - 313);
  103.             }
  104.          }
  105.       }
  106.    }
  107. }
  108.